package com.alibaba.cloud.client8081.config;

import feign.RequestInterceptor;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * created by wuquan at 05/07/2021
 * ^_^ ^_^
 * 不用@Configuration
 */
//@Configuration
public class FeignCustomConfig {


    @Bean
    public RequestInterceptor requestInterceptor() {
        return new FeignInterceptor();
    }
}
